package com.briup;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;
import org.springframework.context.annotation.Bean;

import java.util.Date;
@Data
public class DemoData {
    //自定义的转化器 对里面的元素操作
    //@ExcelProperty(value = "姓名" ,converter = NameConverter.class)
    private String name;
    @ColumnWidth(50)
    @DateTimeFormat("yyyy-MM-dd HH时mm分ss")
    private Date date;
    private Double doubleData;
}
